<h1>New story</h1>

<% form_for(@story) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.label :as_a %><br />
    <%= f.text_field :as_a %>
  </p>
  <p>
    <%= f.label :i_want %><br />
    <%= f.text_field :i_want %>
  </p>
  <p>
    <%= f.label :so_that %><br />
    <%= f.text_field :so_that %>
  </p>
  <p>
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </p>
  <p>
    <%= f.label :acceptance_criteria %><br />
    <%= f.text_area :acceptance_criteria %>
  </p>
  <p>
    <%= f.label :created_by %><br />
    <%= f.text_field :created_by %>
  </p>
  <p>
    <%= f.label :claimed_by %><br />
    <%= f.text_field :claimed_by %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>

<%= link_to 'Back', stories_path %>